{% extends "admin/_tpl/base.html" %}

{% load url from future %}

{% block body %}
	
	<div class="ui-borderlayout">
		
		<div class="north ui-widget-header" style="border-top: 0px; border-left: 0px; border-right: 0px;">

	  	</div >
	  	
	  	<div class="north ui-widget-content" style="border: 0px; padding: 0px;">
	  		{% block submenu %} {% include "admin/_inc/submenu.html" %}  {% endblock %}	  		
	  	</div >
	  	
	  	<div class="north ui-widget-header" style="height: 20px; border-left: 0px; border-right: 0px;">
			<div>{% block breadcrumbs %} {% endblock %}</div>  
			<br "ui-clear-both"/>		
	  	</div >		
			
		<div class="center" style="margin: 0px">

			{% if message_info %}
			<div class="ui-widget bk-mmb">
			<div class="ui-state-highlight bk-pp"> 
					<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>{{ message_info }}</p>
			</div>
			</div>
			{% endif %}
			
			{% if message_error %}
			<div class="ui-widget bk-mmb">			
			<div class="ui-state-error bk-pp"> 
					<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>{{ message_error }}</p>
			</div>
			</div>
			{% endif %}
						
			<div style="border: 1px solid red;">
				<div id="content">
				{% block content %}{% endblock %}
				</div>
				<br class="ui-clear-both">
			</div>

		</div>
		<div class="south bk-south-layout">{% block south%} {% endblock %}</div>
	</div>
	
{% endblock %}